#coding:utf-8
__author__ = 'aesop'

from flask import Flask
import is_loggin


def send_msg(app):
    @app.route('/backstage/send_msg/')
    @is_loggin.is_loginn
    def send_message():
        return u"你好"


if(__name__ == "__main__"):
    app = Flask(__name__)
    send_msg(app)
    app.run(debug = True)